.app-content {
  min-height: calc(100vh - 64px);
}
// 所有layouts中组件样式
.app-navbar{
  display: flex;
  padding: 0 20px 0 0 !important;
  color:#606266;
  transition: width 0.2s;
  z-index: 9;
  position: relative;
  background-color: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  .app-header-nav{
    flex-wrap: wrap;
  }
  .app-helper-menu{
    margin-left: auto;
    display: flex;
  }
  .helper-item {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
    font-size: 18px;
    color: #606266;
    > span:hover {
      color: #1890ff;
    }
  }
  .header-dropdown-wrap{
    &:hover{
      cursor: pointer;
    }
  }
}
// sider
.app-sider{
  .app-logo {
    background:rgba(43, 47, 58, .7);
    height: 64px;
    line-height: 64px;
    overflow: hidden;
    text-align: center;
    .app-logo-img{
      width: 30px;
      margin: 0 10px 0 0;
    }
    h1{
      display: inline-block;
      color:#fff;
      font-size: 18px;
      text-align: center;
      font-weight: normal;
    }
  }
  .app-logo-on{
    overflow: hidden;
    text-align: center;
    .app-logo-img{
      margin-left: 0;
    }
  }
}
.ant-layout-sider-collapsed{
  overflow: hidden;
  text-align: center;
  .app-logo-img{
    margin: 0 !important;
  }
}
.app-content{
  padding: 20px;
}
.app-helper-more{
  top: 12px;
  width: 120px;
}
.github-corner{
  position: absolute;
  top: 64px;
  right: 0px;
  width: 120px;
  height: 120px;
  z-index: 9;
  cursor: pointer;
}
// Tabs-View
.app-tabs-view {
  white-space: nowrap;
  width: 100%;
  padding-left: 10px;
  border-bottom: 1px solid #d8dce5;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04);
  background: #fff;
  .ant-tabs{
    &.ant-tabs-card{
      .ant-tabs-card-bar{
        .ant-tabs-tab-active.ant-tabs-tab{
          background-color: #42b983;
          color: #fff;
          border-color: #42b983;
          &:hover{
            color: #fff;
          }
          .anticon-close{
            color: #fff;
            &:hover{
              background-color: #eee;
              color: #42b983;
            }
          }
        }
        .ant-tabs-tab{
          margin-right: 0;
          border-right: 0;
          border-radius:0;
          border-top:0;
          padding-right: 10px;
          &:first-of-type{
            font-size: 14px;
          }
          &:hover{
            color: #42b983;
          }
          .anticon-close{
            margin-right: 0;
            margin-left: 5px;
            width: 16px;
            height: 16px;
            padding: 2px;
            &:hover{
              background-color: #ccc;
              border-radius: 16px;
              color: #fff;
            }
          }
          &:last-child{
            border-right: 1px solid #f0f0f0;
          }
        }
      }
    }
  }
  .ant-tabs-bar{
    margin-bottom: 0;
  }
  .contextmenu {
    margin: 0;
    background: #fff;
    z-index: 3000;
    position: absolute;
    list-style-type: none;
    padding: 5px 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
    li {
      margin: 0;
      padding: 0px 16px;
      height: 30px;
      cursor: pointer;
      &:hover {
        background: #eee;
      }
    }
  }
}
.scrollbar-container {
  overflow-y: hidden !important;
}
.scrollbar-track-vertical {
  visibility: hidden !important;
}
.app-layout{
  .app-sider{
    background-color:var(--background);
    color: var(--color);
  }
  .ant-menu-dark{
    background-color:var(--background);
    .ant-menu-inline.ant-menu-sub{
      background-color:rgba(0, 12, 23, 0.8);
    }
  }
}
